package com.qq.open.common;

import java.util.List;

/**
 * 自定义异常类
 *    可以通过getExceptionCode() 方法获得异常Code;
 *    通过getExceptionMess() 方法获得异常信息;
 * 
 * @author HaoLiang
 * @version 0.1
 */
public class OpenQqException extends Exception {

	/**
	 * 序列化
	 */
	private static final long serialVersionUID = 6362354740122933380L;

	/** 自定义异常Code */
	private String exceptionCode;
	
	/** 自定义异常信息 */
	private String exceptionMess;
	
	/** 业务类异常信息 */
	private List<String> errorMess;

	
	public String getExceptionCode() {
		return exceptionCode;
	}

	public void setExceptionCode(String exceptionCode) {
		this.exceptionCode = exceptionCode;
	}

	public String getExceptionMess() {
		return exceptionMess;
	}

	public void setExceptionMess(String exceptionMess) {
		this.exceptionMess = exceptionMess;
	}

	/**
	 * @return the errorMess
	 */
	public List<String> getErrorMess() {
		return errorMess;
	}

	/**
	 * @param errorMess the errorMess to set
	 */
	public void setErrorMess(List<String> errorMess) {
		this.errorMess = errorMess;
	}
}
